package com.example.test.demo;

/**
 * @author 晓果冻
 * @version 1.0
 * @date 2021/9/2 21:11
 */
public class Thread02 implements Runnable{
    @Override
    public void run() {
        System.out.println(Thread.currentThread().getName() + "我是子线程");
    }

    public static void main(String[] args) {
        System.out.println(Thread.currentThread().getName());
        new Thread(new Thread02()).start();
    }
}
